Skip to content

[fix][core] always expose stse_get_ecc_key_type_from_curve_id - #110

Merged
Grom- merged 1 commit into
STMicroelectronics:dev/1.2.0from
parmi93:patch-4
Sep 16, 2026
Merged

Grom- merged 1 commit into
STMicroelectronics:dev/1.2.0from
parmi93:patch-4

Conversation

@parmi93

@parmi93 parmi93 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@TofMassilia13320
TofMassilia13320 self-requested a review September 3, 2026 12:23

@TofMassilia13320 TofMassilia13320 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fully agree.
Preprocessing flags check was add before adding STSE_ECC_KT_INVALID value.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is narrowly scoped to removing a compile guard and remains consistent with the always-present stse_ecc_info_table fallback and enum behavior when no ECC curves are configured.

Pull request overview

This PR ensures the core helper stse_get_ecc_key_type_from_curve_id() is always compiled and linkable, regardless of which ECC curve macros are enabled, so downstream code can rely on the symbol being present.

Changes:

  • Removed the preprocessor guard around stse_get_ecc_key_type_from_curve_id() so it is always built.
File summaries
File Description
core/stse_generic_typedef.c Removes conditional compilation around stse_get_ecc_key_type_from_curve_id() to always expose the API.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Grom-
Grom- merged commit 154f99f into STMicroelectronics:dev/1.2.0 Sep 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants